# $Id: sqlite.tcl 44 2007-09-03 00:47:25Z khomoutov $
# Simple wrapper around SQLite to make dcshare agnostic to SQLite
# version to some degree (of course, SQLite N cannot read databases
# created with version N-1).
# But we require SQLite not less than v3.

if {![catch {package require sqlite3}]} {
	# TODO well, seem like this is redundant:
	interp alias {} sqlite {} sqlite3
} else {
	return -code error "SQLite is unavailable"
}

